DevForce Help Reference
Remove(T) Method


Removes an item from the list.
Syntax
'Declaration
 
Public Function Remove( _
   ByVal item As T _
) As Boolean
'Usage
 
Dim instance As RelatedEntityList(Of T)
Dim item As T
Dim value As Boolean
 
value = instance.Remove(item)
public bool Remove( 
   T item
)

Parameters

item
Remarks
Note: If the list contains entities having a many-to-many relationship with the parent entity, the Remove will delete the m:m relationship. This deletion will be persisted to the database with the next SaveChanges.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RelatedEntityList<T> Class
RelatedEntityList<T> Members

Send Feedback